--
-- DESCRIPTION
--
-- @COMPANY **
-- @AUTHOR **
-- @DATE ${date} ${time}
--

---@type AttrComp_C
local M = UnLua.Class()

function M:Initialize(Initializer)
  self.IsDead = false
  self.BodyDuration = 3.0
	self.BoneName = nil

	local Health = 100
	self.Health = Health
	self.MaxHealth = Health

	local Hunger = 100
	self.Hunger = Hunger
	self.MaxHunger = Hunger

	local Thirst = 100
	self.Thirst = Thirst
	self.MaxHunger = Thirst

	local edit_temp = 100
	self.edit_temp = edit_temp
	self.MaxHunger = edit_temp

end

function M:GetHpPercent()
  print(string.format("%f/%f", self.Health, self.MaxHealth))
  return self.Health / self.MaxHealth
end

-- function M:ReceiveBeginPlay()
-- end

-- function M:ReceiveEndPlay()
-- end

-- function M:ReceiveTick(DeltaSeconds)
-- end

return M
